<?php


namespace App\Services\WeChat;


use EasyWeChat\Factory;

class WeChatBasicService
{
    static public function jssdk()
    {
        $app = Factory::basicService([
            'app_id' => env('WECHAT_MINI_PROGRAM_APP_ID'),
            'secret' => env('WECHAT_MINI_PROGRAM_SECRET'),
        ]);

        return $app->jssdk;
    }
}
